<?
include("./_common.php");

if ($member[mb_id]) 
{
	$level = $member[mb_1];
	switch ($level) {
		case "0":
			echo "<script>document.location='nonpage.php'</script>";
			break;
		case "1":
			echo "<script>document.location='pension.html'</script>";
			break;			
		case "2":
			echo "<script>document.location='/PMS/'</script>";
			break;			
		case "3":
			echo "<script>document.location='/PMS/'</script>";
			break;			
		default:
			echo "<script>document.location='pension.html'</script>";
			break;
	}
/*	echo "<script>document.location='pension.html'</script>"; */
}
else {
	echo "<script>document.location.href='login.html'; </script>";
}
?>